package ModelLayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class UT.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class UT
{
    private ModelLayer.RentCollection rentColl1;
    private ModelLayer.AddressBook addressB1;
    private ModelLayer.Person person1;
    private ModelLayer.Person person2;
    private ModelLayer.Person person3;
    private ModelLayer.AddressBook addressB2;

    
    

    /**
     * Default constructor for test class UT
     */
    public UT()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
        rentColl1 = ModelLayer.RentCollection.getInstance();
        addressB1 = ModelLayer.AddressBook.getInstance();
        person1 = new ModelLayer.Person(1, "sad", "sdfdsf", 2, "fdgdsf", 555);
        addressB1.addPerson(person1);
        person2 = new ModelLayer.Person(1, "Kasper", "Sverigesgade 6", 9000, "Aalborg", 28779950);
        person3 = new ModelLayer.Person(2, "nikolaj", "Lindholmsvej 71", 9200, "NOrresundby", 23654878);
        addressB2 = ModelLayer.AddressBook.getInstance();
        addressB2.addPerson(person2);
        addressB2.addPerson(person3);
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }
}
